Skip to main content

Query Sub-Account Quota

Type: GET

Description: /v4/user/account/broker-sub/info

Queries the broker's sub-account quota and usage. Sign the request with the broker master account's API Key.

Parameters​

None. Only the authentication headers are required.

Request Example​

curl -X GET '{baseUrl}/v4/user/account/broker-sub/info' \
-H 'validate-algorithms: HmacSHA256' \
-H 'validate-appkey: {accessKey}' \
-H 'validate-recvwindow: 5000' \
-H 'validate-timestamp: {timestamp}' \
-H 'validate-signature: {signature}'

Response Example​

Response
{
"rc": 0,
"mc": "SUCCESS",
"result": {
"subAccountQty": 6,
"maxSubAccountQty": 50000,
"apiKeyLimitPerAccount": 10
}
}

Response Parameters​

NameTypeDescription
subAccountQtyintNumber of sub-accounts created
maxSubAccountQtyintMaximum number of sub-accounts
apiKeyLimitPerAccountintMaximum number of API Keys per sub-account